home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er 1993 June
/
64er_Magazin_93-06_1993_Markt__Technik_de_Side_B.d64
/
listing 7-3
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
1KB
|
34 lines
0 rem *** drumsounds
1 :
2 :t(1) =10 :rem tonhoehe 1
3 :t(2) =60 :rem tonhoehe 2
4 :t(3) =12 :rem tonhoehe 3
5 :t(4) =7 :rem tonhoehe 4
6 :t(5) =5 :rem tonhoehe 5
7 :t(6) =3 :rem tonhoehe 6
8 :t(7) =2 :rem tonhoehe 7
9 :t(8) =1 :rem tonhoehe 8
10 :
11 :w(1) =17 :rem wellenform 1
12 :w(2) =129 :rem wellenform 2
13 :w(3) =65 :rem wellenform 3
14 :w(4) =64 :rem wellenform 4
15 :w(5) =64 :rem wellenform 5
16 :w(6) =64 :rem wellenform 6
17 :w(7) =64 :rem wellenform 7
18 :w(8) =64 :rem wellenform 8
19 :
20 rem * ton einschalten
21 :
22 s=54272:pokes+4,8:pokes+24,15 :rem vole lautstaerke setzen
23 pokes+6,247:pokes+5,0:pokes+3,8 :rem adsr und tastverhaeltnis poken
29 :
40 rem * drum !
51 :
52 fori=1to8 :rem schleifenanfang
53 pokes+4,w(i) :rem wellenform nr. i in sid schreiben
54 pokes+1,t(i) :rem tonhoehe nr. i in sid schreiben
55 forj=0to4:next :rem kurz warten...
56 next :rem ...und naechsten ton poken, bis alle acht fertig
60 fori=1to300:next:goto52: rem laenger warten und zum anfang